home *** CD-ROM | disk | FTP | other *** search
Java Source | 2005-08-23 | 26.2 KB | 509 lines |
- // _Directions_EOArchive.java
- // Generated by EnterpriseObjects palette at Saturday, August 20, 2005 11:22:23 PM America/Detroit
-
- import com.webobjects.eoapplication.*;
- import com.webobjects.eocontrol.*;
- import com.webobjects.eointerface.*;
- import com.webobjects.eointerface.swing.*;
- import com.webobjects.foundation.*;
- import java.awt.*;
- import javax.swing.*;
- import javax.swing.border.*;
- import javax.swing.table.*;
- import javax.swing.text.*;
-
- public class _Directions_EOArchive extends com.webobjects.eoapplication.EOArchive {
- ArrayController _arrayController0, _arrayController1, _arrayController2, _arrayController3;
- ObjectController _objectController0;
- com.webobjects.eointerface.swing.EOFrame _eoFrame0;
- com.webobjects.eointerface.swing.EOImageView _nsImageView0, _nsImageView1;
- com.webobjects.eointerface.swing.EOMatrix _nsMatrix0, _nsMatrix1;
- com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4;
- com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsCustomView0;
- javax.swing.JButton _nsButton0, _nsButton1;
- javax.swing.JComboBox _popup0, _popup1, _popup2, _popup3;
- javax.swing.JPanel _nsView0;
- javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2, _jRadioButton3;
-
- public _Directions_EOArchive(Object owner, NSDisposableRegistry registry) {
- super(owner, registry);
- }
-
- protected void _construct() {
- Object owner = _owner();
- EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
- Object replacement;
-
- super._construct();
-
- _nsCustomView0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "Resource Holder");
- _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111");
- _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
- _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
- _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111");
- _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
- _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox");
- _objectController0 = (ObjectController)_registered(new ObjectController(), "Proxy");
- _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Close"), "NSButton1");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "urlField")) != null)) {
- _nsTextField2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField2");
- } else {
- _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "companyImageView")) != null)) {
- _nsImageView1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOImageView)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsImageView1");
- } else {
- _nsImageView1 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "personImageView")) != null)) {
- _nsImageView0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOImageView)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsImageView0");
- } else {
- _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- }
-
- _nsMatrix1 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(2, 1, 0, 0), "NSMatrix1");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField.nextFocusableComponent.nextFocusableComponent")) != null)) {
- _popup3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_popup3");
- } else {
- _popup3 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField.nextFocusableComponent")) != null)) {
- _popup2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_popup2");
- } else {
- _popup2 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField")) != null)) {
- _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField1");
- } else {
- _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
- }
-
- _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(2, 1, 0, 0), "NSMatrix1");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField.nextFocusableComponent.nextFocusableComponent")) != null)) {
- _popup1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_popup1");
- } else {
- _popup1 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField.nextFocusableComponent")) != null)) {
- _popup0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_popup0");
- } else {
- _popup0 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField")) != null)) {
- _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
- } else {
- _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endCustom")) != null)) {
- _jRadioButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_jRadioButton3");
- } else {
- _jRadioButton3 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endBook")) != null)) {
- _jRadioButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_jRadioButton2");
- } else {
- _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startCustom")) != null)) {
- _jRadioButton1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_jRadioButton1");
- } else {
- _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startBook")) != null)) {
- _jRadioButton0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_jRadioButton0");
- } else {
- _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endPeople")) != null)) {
- _arrayController3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
- _replacedObjects.setObjectForKey(replacement, "_arrayController3");
- } else {
- _arrayController3 = (ArrayController)_registered(new ArrayController(), "End People");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startPeople")) != null)) {
- _arrayController2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
- _replacedObjects.setObjectForKey(replacement, "_arrayController2");
- } else {
- _arrayController2 = (ArrayController)_registered(new ArrayController(), "Start People");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endAddresses")) != null)) {
- _arrayController1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
- _replacedObjects.setObjectForKey(replacement, "_arrayController1");
- } else {
- _arrayController1 = (ArrayController)_registered(new ArrayController(), "End People Addresses");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startAddresses")) != null)) {
- _arrayController0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
- _replacedObjects.setObjectForKey(replacement, "_arrayController0");
- } else {
- _arrayController0 = (ArrayController)_registered(new ArrayController(), "Start People Addresses");
- }
-
- _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("OK"), "NSButton");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "window")) != null)) {
- _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
- _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
- } else {
- _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Panel");
- }
-
- _nsView0 = (JPanel)_eoFrame0.getContentPane();
- }
-
- protected void _awaken() {
- super._awaken();
- _connect(_objectController0, _owner(), "content");
- _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "closeButton", _nsButton1), ""));
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_eoFrame0, _owner(), "delegate");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField2") == null) {
- _connect(_owner(), _nsTextField2, "urlField");
- }
-
- if (_replacedObjects.objectForKey("_nsImageView1") == null) {
- _connect(_owner(), _nsImageView1, "companyImageView");
- }
-
- if (_replacedObjects.objectForKey("_nsImageView0") == null) {
- _connect(_owner(), _nsImageView0, "personImageView");
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _connect(_owner(), _popup0, "endContact");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField1") == null) {
- _connect(_owner(), _nsTextField1, "endField");
- }
-
- if (_replacedObjects.objectForKey("_popup2") == null) {
- _connect(_owner(), _popup2, "startContact");
- }
-
- if (_replacedObjects.objectForKey("_popup3") == null) {
- _popup3.setModel(new javax.swing.DefaultComboBoxModel());
- _popup3.addItem("Home");
- _popup3.addItem("Item2");
- _popup3.addItem("Item3");
- }
-
- if (_replacedObjects.objectForKey("_popup2") == null) {
- _popup2.setModel(new javax.swing.DefaultComboBoxModel());
- _popup2.addItem("Brian Toth");
- _popup2.addItem("Item2");
- _popup2.addItem("Item3");
- }
-
- if (_replacedObjects.objectForKey("_popup1") == null) {
- _popup1.setModel(new javax.swing.DefaultComboBoxModel());
- _popup1.addItem("Work");
- _popup1.addItem("Item2");
- _popup1.addItem("Item3");
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _popup0.setModel(new javax.swing.DefaultComboBoxModel());
- _popup0.addItem("Brian Toth");
- _popup0.addItem("Item2");
- _popup0.addItem("Item3");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _connect(_owner(), _nsTextField0, "startField");
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton3") == null) {
- _connect(_owner(), _jRadioButton3, "endCustom");
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton2") == null) {
- _connect(_owner(), _jRadioButton2, "endBook");
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton1") == null) {
- _connect(_owner(), _jRadioButton1, "startCustom");
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton0") == null) {
- _connect(_owner(), _jRadioButton0, "startBook");
- }
-
- if (_replacedObjects.objectForKey("_arrayController3") == null) {
- _connect(_owner(), _arrayController3, "endPeople");
- }
-
- if (_replacedObjects.objectForKey("_arrayController2") == null) {
- _connect(_owner(), _arrayController2, "startPeople");
- }
-
- if (_replacedObjects.objectForKey("_arrayController1") == null) {
- _connect(_owner(), _arrayController1, "endAddresses");
- }
-
- if (_replacedObjects.objectForKey("_arrayController0") == null) {
- _connect(_owner(), _arrayController0, "startAddresses");
- }
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_owner(), _eoFrame0, "window");
- }
-
- _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "okButton", _nsButton0), ""));
- }
-
- protected void _init() {
- super._init();
- if (!(_nsCustomView0.getLayout() instanceof EOViewLayout)) { _nsCustomView0.setLayout(new EOViewLayout()); }
- _nsImageView0.setSize(16, 16);
- _nsImageView0.setLocation(5, 6);
- ((EOViewLayout)_nsCustomView0.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
- _nsCustomView0.add(_nsImageView0);
- _nsImageView1.setSize(16, 16);
- _nsImageView1.setLocation(29, 6);
- ((EOViewLayout)_nsCustomView0.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin);
- _nsCustomView0.add(_nsImageView1);
- _setFontForComponent(_nsTextField4, "Lucida Grande", 9, Font.PLAIN);
- _nsTextField4.setEditable(false);
- _nsTextField4.setOpaque(false);
- _nsTextField4.setText("");
- _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField4.setSelectable(false);
- _nsTextField4.setEnabled(true);
- _nsTextField4.setBorder(null);
- if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); }
- _nsMatrix0.setSize(22, 48);
- _nsMatrix0.setLocation(14, 10);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsMatrix0);
- _popup0.setSize(173, 22);
- _popup0.setLocation(45, 10);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin);
- _nsBox3.add(_popup0);
- _popup1.setSize(113, 22);
- _popup1.setLocation(227, 10);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_popup1, EOViewLayout.MinYMargin);
- _nsBox3.add(_popup1);
- _nsTextField1.setSize(296, 19);
- _nsTextField1.setLocation(44, 36);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsTextField1);
- _nsTextField4.setSize(302, 11);
- _nsTextField4.setLocation(41, 63);
- ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
- _nsBox3.add(_nsTextField4);
- if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
- _nsBox3.setSize(355, 85);
- _nsBox3.setLocation(2, 15);
- ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
- _nsBox2.add(_nsBox3);
- _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Destination", true, "Lucida Grande", 11, Font.PLAIN));
- _setFontForComponent(_nsTextField3, "Lucida Grande", 9, Font.PLAIN);
- _nsTextField3.setEditable(false);
- _nsTextField3.setOpaque(false);
- _nsTextField3.setText("");
- _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField3.setSelectable(false);
- _nsTextField3.setEnabled(true);
- _nsTextField3.setBorder(null);
- if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); }
- _nsMatrix1.setSize(22, 48);
- _nsMatrix1.setLocation(14, 10);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin);
- _nsBox1.add(_nsMatrix1);
- _popup2.setSize(173, 22);
- _popup2.setLocation(45, 10);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_popup2, EOViewLayout.MinYMargin);
- _nsBox1.add(_popup2);
- _popup3.setSize(113, 22);
- _popup3.setLocation(227, 10);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_popup3, EOViewLayout.MinYMargin);
- _nsBox1.add(_popup3);
- _nsTextField0.setSize(296, 19);
- _nsTextField0.setLocation(44, 36);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
- _nsBox1.add(_nsTextField0);
- _nsTextField3.setSize(302, 11);
- _nsTextField3.setLocation(41, 63);
- ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
- _nsBox1.add(_nsTextField3);
- if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
- _nsBox1.setSize(355, 85);
- _nsBox1.setLocation(2, 15);
- ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
- _nsBox0.add(_nsBox1);
- _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Start", true, "Lucida Grande", 11, Font.PLAIN));
- _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
- _nsButton1.setMargin(new Insets(0, 2, 0, 2));
-
- if (_replacedObjects.objectForKey("_nsTextField2") == null) {
- _setFontForComponent(_nsTextField2, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField2.setEditable(false);
- _nsTextField2.setOpaque(false);
- _nsTextField2.setText("Visit BrianToth.com");
- _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField2.setSelectable(false);
- _nsTextField2.setEnabled(true);
- _nsTextField2.setBorder(null);
- }
-
- _connect(_nsMatrix1, _nsTextField0, "nextFocusableComponent");
- _jRadioButton0.setSize(22, 24);
- _jRadioButton0.setLocation(0, 0);
- _nsMatrix1.add(_jRadioButton0);
- _jRadioButton1.setSize(22, 24);
- _jRadioButton1.setLocation(0, 24);
- _nsMatrix1.add(_jRadioButton1);
- _setFontForComponent(_nsMatrix1, "Lucida Grande", 13, Font.PLAIN);
-
- if (_replacedObjects.objectForKey("_popup3") == null) {
- _connect(_popup3, _nsMatrix1, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_popup3") == null) {
- _setFontForComponent(_popup3, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_popup2") == null) {
- _connect(_popup2, _popup3, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_popup2") == null) {
- _setFontForComponent(_popup2, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField1") == null) {
- _connect(_nsTextField1, _popup2, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField1") == null) {
- _setFontForComponent(_nsTextField1, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField1.setEditable(true);
- _nsTextField1.setOpaque(true);
- _nsTextField1.setText("");
- _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField1.setSelectable(true);
- _nsTextField1.setEnabled(true);
- }
-
- _connect(_nsMatrix0, _nsTextField1, "nextFocusableComponent");
- _jRadioButton2.setSize(22, 24);
- _jRadioButton2.setLocation(0, 0);
- _nsMatrix0.add(_jRadioButton2);
- _jRadioButton3.setSize(22, 24);
- _jRadioButton3.setLocation(0, 24);
- _nsMatrix0.add(_jRadioButton3);
- _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
-
- if (_replacedObjects.objectForKey("_popup1") == null) {
- _connect(_popup1, _nsMatrix0, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_popup1") == null) {
- _setFontForComponent(_popup1, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _connect(_popup0, _popup1, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_popup0") == null) {
- _setFontForComponent(_popup0, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _connect(_nsTextField0, _popup0, "nextFocusableComponent");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _setFontForComponent(_nsTextField0, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField0.setEditable(true);
- _nsTextField0.setOpaque(true);
- _nsTextField0.setText("");
- _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField0.setSelectable(true);
- _nsTextField0.setEnabled(true);
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton3") == null) {
- _setFontForComponent(_jRadioButton3, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton2") == null) {
- _setFontForComponent(_jRadioButton2, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton1") == null) {
- _setFontForComponent(_jRadioButton1, "Lucida Grande", 11, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_jRadioButton0") == null) {
- _setFontForComponent(_jRadioButton0, "Lucida Grande", 11, Font.PLAIN);
- }
-
- _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
- _nsButton0.setMargin(new Insets(0, 2, 0, 2));
- if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
- _nsButton0.setSize(75, 26);
- _nsButton0.setLocation(280, 212);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton0);
- _nsBox0.setSize(359, 102);
- _nsBox0.setLocation(1, 0);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsBox0);
- _nsBox2.setSize(359, 102);
- _nsBox2.setLocation(1, 106);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
- _nsView0.add(_nsBox2);
- _nsButton1.setSize(75, 26);
- _nsButton1.setLocation(198, 212);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton1);
- _nsTextField2.setSize(118, 14);
- _nsTextField2.setLocation(11, 218);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField2);
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _nsView0.setSize(364, 239);
- _eoFrame0.setTitle("Google Directions");
- _eoFrame0.setLocation(304, 536);
- _eoFrame0.setSize(364, 239);
- }
- }
- }
-